package com.cx.mall.demo;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.web.bind.annotation.RestController;

import javax.swing.*;
@SpringBootApplication(exclude = {DataSourceAutoConfiguration.class}) //注释：这是一个Spring应用
public class DemoApplication {
    public static void main(String[] args) {
        //启动一个spring 应用
        SpringApplication.run(DemoApplication.class,args);
    }
}
